FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER 15696209953@sina.cn

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /ling-cloud-gateway

WORKDIR /ling-cloud-gateway

EXPOSE 9999

ADD ./target/ling-cloud-gateway.jar ./

CMD sleep 120;java -Djava.security.egd=file:/dev/./urandom -jar -Dfile.encoding=UTF-8 -Ddefault.client.encoding=UTF-8 -Duser.timezone=GMT+08 ling-cloud-gateway.jar
